home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / ip / ka9q / osrc.arc / MAKEFILE < prev    next >
Encoding:
Text File  |  1989-04-16  |  8.4 KB  |  204 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for PC clones with Turbo C
  3. #
  4. # switches:
  5. #    define the ones you want in the CFLAGS definition...
  6. #
  7. #    TRACE        - turn on tracing/debugging code
  8. #
  9. #    AMIGA        - include Amiga specific code
  10. #    MSDOS        - include Messy-Dos specific code
  11. #    UNIX        - Use UNIX file format conventions
  12. #    CPM        - Use CP/M file format conventions
  13.  
  14. #
  15. # CFLAGS for typical IBM-PC installation
  16. #
  17. CFLAGS=    -a -d -f- -G -O -Z -DMSDOS 
  18. MODEL=-ml
  19. # Assembler flags
  20. AFLAGS=-mx -t -DMEMMOD=LARGE
  21. all:    net.exe
  22.         
  23. .c.obj:
  24.     tcc -c $(MODEL) $(CFLAGS) $*
  25.  
  26. .asm.obj:
  27.     tasm $(AFLAGS) $*;
  28.  
  29. CLIENTS= telnet.obj ftpcli.obj finger.obj smtpcli.obj
  30.  
  31. SERVERS= tnserv.obj ftpserv.obj smisc.obj smtpserv.obj fingerd.obj
  32.  
  33. INTERNET= tcpcmd.obj tcpuser.obj tcptimer.obj tcpout.obj tcpin.obj tcpsubr.obj \
  34.     udpcmd.obj udp.obj \
  35.     domain.obj \
  36.     ipcmd.obj ip.obj iproute.obj \
  37.     icmpcmd.obj icmp.obj icmpmsg.obj \
  38.     arpcmd.obj arp.obj \
  39.     netuser.obj
  40.  
  41. AX25=    ax25cmd.obj ax25user.obj ax25.obj lapbtime.obj lapb.obj kiss.obj ax25subr.obj 
  42.  
  43. NETROM=    nr3.obj nrcmd.obj nrs.obj nrsubr.obj nr4.obj nr4subr.obj
  44.  
  45. NET=    ftpsubr.obj socket.obj asy.obj slip.obj \
  46.     iface.obj timer.obj ttydriv.obj cmdparse.obj mbuf.obj \
  47.     misc.obj pathname.obj audit.obj files.obj \
  48.     kernel.obj ksubr.obj alloc.obj getopt.obj
  49.  
  50. DUMP=     trace.obj enetdump.obj \
  51.     ax25dump.obj arpdump.obj ipdump.obj icmpdump.obj udpdump.obj tcpdump.obj
  52.  
  53. PCOBJS= pc.obj dirutil.obj eccmd.obj ec.obj pktdrvr.obj enet.obj hapn.obj \
  54.     hs.obj pc100.obj eagle.obj \
  55.     8530.obj 8250.obj ecvec.obj pkvec.obj asyvec.obj hsvec.obj \
  56.     pc100vec.obj eaglevec.obj hapnvec.obj \
  57.     pcgen.obj 
  58.  
  59. mkdep.exe: mkdep.c
  60.     tcc mkdep.c
  61.     del mkdep.obj
  62.  
  63. net.exe: main.obj daemon.obj version.obj session.obj clients.lib servers.lib internet.lib \
  64.     net.lib netrom.lib ax25.lib pc.lib dump.lib
  65.     tcc $(MODEL) -M -y -enet main.obj daemon.obj version.obj session.obj *.lib
  66.  
  67. apptest.exe: apptest.obj appint.obj external.h
  68.     tcc -ml -O -Z -M -y apptest.obj appint.obj
  69.  
  70. apptest.obj: apptest.c appint.h
  71.     tcc -c -ml -O -Z -M -y apptest.c
  72.  
  73. appint.obj: appint.c external.h
  74.     tcc -c -ml -O -Z -M -y appint.c
  75.  
  76. clients.lib: $(CLIENTS) clients.tl
  77.     del clients.lib
  78.     tlib /c clients.lib @clients.tl
  79.  
  80. servers.lib: $(SERVERS) servers.tl
  81.     del servers.lib
  82.     tlib /c servers.lib @servers.tl
  83.  
  84. internet.lib: $(INTERNET) internet.tl
  85.     del internet.lib
  86.     tlib /c internet.lib @internet.tl
  87.  
  88. ax25.lib: $(AX25) ax25.tl
  89.     del ax25.lib
  90.     tlib /c ax25.lib @ax25.tl
  91.  
  92. netrom.lib: $(NETROM) netrom.tl
  93.     del netrom.lib
  94.     tlib /c netrom.lib @netrom.tl
  95.  
  96. net.lib: $(NET) net.tl
  97.     del net.lib
  98.     tlib /c net.lib @net.tl
  99.  
  100. dump.lib: $(DUMP) dump.tl
  101.     del dump.lib
  102.     tlib /c dump.lib @dump.tl
  103.  
  104. pc.lib: $(PCOBJS) pc.tl
  105.     del pc.lib
  106.     tlib /c pc.lib @pc.tl
  107.  
  108. clean:    nul
  109.     del *.lib
  110.     del *.obj
  111.     del *.exe
  112.     del *.sym
  113.  
  114. #make begin says to start from the beginning.
  115. begin: clean
  116.     tcc -c $(CFLAGS) $(MODEL) *.c
  117.     tasm $(AFLAGS) *.asm
  118.  
  119. # this section generated by mkdep
  120. 8250.obj: 8250.c global.h iface.h asy.h 8250.h
  121. alloc.obj: alloc.c
  122. arp.obj: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h icmp.h ip.h arp.h
  123. arpcmd.obj: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
  124. arpdump.obj: arpdump.c global.h mbuf.h timer.h arp.h
  125. asy.obj: asy.c global.h iface.h asy.h ax25.h kiss.h slip.h nrs.h config.h
  126. audit.obj: audit.c global.h mbuf.h
  127. ax25.obj: ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h
  128. ax25cmd.obj: ax25cmd.c global.h mbuf.h timer.h proc.h iface.h ax25.h lapb.h cmdparse.h socket.h ax25tnc.h session.h
  129. ax25dump.obj: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h
  130. ax25subr.obj: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
  131. ax25user.obj: ax25user.c global.h mbuf.h timer.h iface.h lapb.h ax25.h lapb.h
  132. cmdparse.obj: cmdparse.c global.h cmdparse.h proc.h
  133. dirutil.obj: dirutil.c global.h
  134. domain.obj: domain.c global.h mbuf.h timer.h netuser.h socket.h cmdparse.h proc.h domain.h
  135. drreset.obj: drreset.c global.h 8530.h
  136. drtest.obj: drtest.c 8530.h
  137. eagle.obj: eagle.c global.h mbuf.h iface.h eagle.h 8530.h ax25.h trace.h
  138. ec.obj: ec.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h
  139. eccmd.obj: eccmd.c global.h mbuf.h iface.h ec.h
  140. enet.obj: enet.c global.h mbuf.h iface.h timer.h arp.h enet.h
  141. enetdump.obj: enetdump.c global.h mbuf.h enet.h trace.h
  142. files.obj: files.c
  143. finger.obj: finger.c global.h mbuf.h socket.h session.h proc.h
  144. fingerd.obj: fingerd.c global.h mbuf.h socket.h session.h proc.h
  145. ftpcli.obj: ftpcli.c global.h mbuf.h session.h cmdparse.h timer.h proc.h tty.h socket.h ftp.h ftpcli.h
  146. ftpserv.obj: ftpserv.c global.h mbuf.h socket.h ftp.h ftpserv.h proc.h
  147. ftpsubr.obj: ftpsubr.c global.h mbuf.h socket.h ftp.h
  148. getopt.obj: getopt.c
  149. hapn.obj: hapn.c global.h timer.h mbuf.h iface.h hapn.h ax25.h trace.h
  150. hs.obj: hs.c global.h mbuf.h iface.h hs.h 8530.h ax25.h trace.h
  151. icmp.obj: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
  152. icmpcmd.obj: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h socket.h proc.h session.h
  153. icmpdump.obj: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
  154. icmpmsg.obj: icmpmsg.c global.h
  155. iface.obj: iface.c global.h iface.h
  156. ip.obj: ip.c global.h config.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
  157. ipcmd.obj: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
  158. ipdump.obj: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
  159. iproute.obj: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  160. kernel.obj: kernel.c global.h mbuf.h proc.h
  161. kiss.obj: kiss.c global.h mbuf.h iface.h kiss.h trace.h
  162. ksubr.obj: ksubr.c global.h proc.h
  163. lapb.obj: lapb.c global.h mbuf.h timer.h ax25.h lapb.h
  164. lapbtime.obj: lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
  165. lcsum.obj: lcsum.c global.h
  166. main.obj: main.c config.h global.h mbuf.h socket.h iface.h ftpcli.h telnet.h ax25tnc.h remote.h session.h cmdparse.h ax25.h enet.h timer.h proc.h tty.h daemon.h asy.h slip.h nrs.h asy.h trace.h
  167. mbuf.obj: mbuf.c global.h mbuf.h
  168. misc.obj: misc.c global.h
  169. mkdep.obj: mkdep.c
  170. netuser.obj: netuser.c global.h netuser.h
  171. nr3.obj: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h
  172. nr4.obj: nr4.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
  173. nr4subr.obj: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
  174. nrcmd.obj: nrcmd.c global.h mbuf.h ax25.h netrom.h timer.h iface.h lapb.h cmdparse.h
  175. nrs.obj: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
  176. nrsubr.obj: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
  177. pathname.obj: pathname.c global.h
  178. pc.obj: pc.c global.h mbuf.h internet.h iface.h cmdparse.h
  179. pc100.obj: pc100.c global.h mbuf.h iface.h pc100.h 8530.h ax25.h trace.h
  180. pktdrvr.obj: pktdrvr.c global.h proc.h mbuf.h enet.h ax25.h slip.h kiss.h iface.h ec.h timer.h arp.h trace.h pktdrvr.h config.h
  181. session.obj: session.c global.h config.h mbuf.h socket.h ftpcli.h telnet.h icmp.h ax25tnc.h session.h cmdparse.h timer.h proc.h tty.h
  182. slip.obj: slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h trace.h
  183. smisc.obj: smisc.c global.h mbuf.h socket.h proc.h remote.h
  184. smtpcli.obj: smtpcli.c global.h mbuf.h cmdparse.h proc.h socket.h timer.h netuser.h smtp.h
  185. smtpserv.obj: smtpserv.c global.h mbuf.h cmdparse.h socket.h proc.h smtp.h
  186. socket.obj: socket.c global.h mbuf.h netuser.h timer.h iface.h ip.h tcp.h udp.h ax25.h lapb.h proc.h usock.h socket.h config.h
  187. daemon.obj: daemon.c global.h cmdparse.h config.h daemon.h
  188. tcpcmd.obj: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h
  189. tcpdump.obj: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
  190. tcpin.obj: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  191. tcpout.obj: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  192. tcpsubr.obj: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  193. tcptimer.obj: tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
  194. tcpuser.obj: tcpuser.c global.h timer.h mbuf.h netuser.h socket.h internet.h tcp.h icmp.h
  195. telnet.obj: telnet.c global.h mbuf.h socket.h telnet.h session.h proc.h tty.h
  196. timer.obj: timer.c global.h timer.h proc.h
  197. tnserv.obj: tnserv.c global.h mbuf.h socket.h telnet.h session.h proc.h tty.h
  198. trace.obj: trace.c global.h mbuf.h iface.h trace.h
  199. ttydriv.obj: ttydriv.c global.h mbuf.h tty.h
  200. udp.obj: udp.c global.h mbuf.h netuser.h udp.h internet.h
  201. udpcmd.obj: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h cmdparse.h
  202. udpdump.obj: udpdump.c global.h mbuf.h netuser.h internet.h udp.h
  203. version.obj: version.c
  204.